import request from '@/utils/request'

/**
 * 首页数据查询
 */
export function getstatisticData(params) {
  return request({
    url: '/ApiAdmin/StatisticData/statisticData',
    method: 'post',
    data: params
  })
}

/**
 * 顶部数字数据看板接口
 */
export function topData(params) {
  return request({
    url: '/cms/topData',
    method: 'post',
    data: params
  })
}
/**
 * 圆形图数据接口
 */
export function sectorData(params) {
  return request({
    url: '/cms/sectorData',
    method: 'post',
    data: params
  })
}
/**
 * 近8天柱状折现数据接口
 */
export function recentData(params) {
  return request({
    url: '/cms/recentData',
    method: 'post',
    data: params
  })
}

/**
 * 首页统计
 */
export function getnearlyEightDays(params) {
  return request({
    url: '/ApiAdmin/StatisticData/nearlyEightDays',
    method: 'post',
    data: params
  })
}

/**
 * 全部交易量
 */
export function departmentFeeStatistics(params) {
  return request({
    url: '/manage/Data/departmentFeeStatistics',
    method: 'post',
    data: params
  })
}

/**
 * 自助机状态
 */
export function devMonito(params) {
  return request({
    url: '/manage/Data/devMonito',
    method: 'post',
    data: params
  })
}

